home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / misc / cutitout.lha / cutitout.doc < prev    next >
Text File  |  1993-03-23  |  2KB  |  59 lines

  1.  
  2.  
  3.                     CutItOut!, a large-bitmap utility
  4.                     by K.Peeters, (C) 1992.
  5.  
  6.  
  7. CutItOut! is a program to manipulate large bitmaps. These include bitmaps
  8. that even DPaint can't handle (like 4000x4000). It will display a scaled
  9. image of the picture in a window on the workbench screen. You can then
  10. cut out a part of it, and save it to a file. 
  11.  
  12.  
  13. How to use it:
  14.  
  15. Start as usual. Of the 5 buttons at the bottom of the window, only the
  16. first two actually do something in this version (haven't had time to
  17. include the other functions). They do exactly as they say: the first
  18. one loads a large bitmap, the second one saves a part of it to a separate
  19. file. 
  20.  
  21. So click LOAD, pick bitmap. This displays the picture on screen. Resize
  22. as you like.  Then mark an area (click once, move to other corner, click
  23. again).  Then SAVE.
  24.  
  25.  
  26. Technical:
  27.  
  28. CutItOut makes use of IFF.library. I have included version 22.3. Don't use
  29. older versions, since they contain a bug in the save routines which locks
  30. up 68000 machines.
  31.  
  32. I use the BitMapScale() to resize the picture. The RKM manual isn't clear
  33. about the source location (whether it has to be in CHIP-mem), but it works
  34. with FAST-mem sources on my machine. Since the source can be quite large,
  35. this is the only way to do it on my 512K CHIP machine. If someone knows
  36. more about this routine, please email me.
  37.  
  38. Since I only needed this util for 1 bitplane images, I have not tested the
  39. program with pictures with more than 2 planes (since my WB is 2 planes). In any
  40. case, it will only display the first 2 planes. I don't recall if I made the
  41. save routines use all the planes. Check it out.
  42.  
  43. The user-interface was made with GadToolsBox by Jan v.d. Baard. Thanks.
  44. The source is included (C and GTB).
  45.  
  46.  
  47.  
  48.  
  49. Enjoy,
  50.  
  51. Kasper Peeters
  52.  
  53. t16@nikhefh.nikhef.nl
  54. kpeeters@phys.uva.nl
  55.  
  56.  
  57. BTW. The program is PD of course. Please mail me if you like more features
  58. or have included them yourself. There's no need to invent the wheel twice.
  59.